﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace EEDS.Core
{
    public class Mural
    {
        private Emblem[,] emblems;
        private Size size;
        private Game game;

        public Mural(Size size) : this(Game.None, size) { }

        public Mural(Game game, Size size)
        {
            emblems = new Emblem[size.Width, size.Height];

            this.game = game;
            this.size = size;
        }

        public void ChangeSize(Size size)
        {
            emblems = Util.RedimPreserve2D<Emblem>(emblems, size);
            
            this.size = size;
        }

        public Size Size
        {
            get
            {
                return size;
            }
        }

        public Game Game
        {
            get
            {
                return game;
            }
        }

        public Emblem[,] Emblems
        {
            get
            {
                return emblems;
            }
        }
    }
}